<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>插入</title>
</head>
<body>
<form th:action="@{/insert}" method="post">
    <table>
        <tr>
            <th>姓名：</th>
            <td>
                <input name="name" />
            </td>
        </tr>
        <tr>
            <th>年龄：</th>
            <td>
                <input name="age" />
            </td>
        </tr>
        <tr>
            <th>性别：</th>
            <td>
                <input type="radio" name="sex" value="1" />男
                <input type="radio" name="sex" value="2" />女
            </td>
        </tr>

        <tr>
            <th></th>
            <td>
                <input type="submit" value="&nbsp;新&nbsp;&nbsp;添&nbsp;" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>